package com.gopay.common.domain.dps;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 钱包tyy 客户信息表
 * @author baiyunpeng
 *
 */
@Entity
@Table(name = "WA_TYY_CUST_GEN_INFO")
public class WaTyyCustGenInfo extends BaseEntity implements Serializable {
    private String custId;
    private String userId;
    private BigDecimal holdingCapital;
    private BigDecimal historicalIncome;
    private BigDecimal expectedHoldingIncome;
    private Integer testScore;
    private Date testTime;
    private Date createTime;
    private Date lastUpTime;
    private Integer version;
    private String remark1;
    private String remark2;
    private String hideOrShow;

    /**
     * '客户ID'
     * @return
     */
    @Id
    @Column(name = "CUST_ID")
    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    /**
     *'用户ID'
     * @return
     */
    @Column(name = "USER_ID")
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     *'持有中本金'
     * @return
     */
    @Column(name = "HOLDING_CAPITAL")
    public BigDecimal getHoldingCapital() {
        return holdingCapital;
    }

    public void setHoldingCapital(BigDecimal holdingCapital) {
        this.holdingCapital = holdingCapital;
    }

    /**
     *'历史收益'
     * @return
     */
    @Column(name = "HISTORICAL_INCOME")
    public BigDecimal getHistoricalIncome() {
        return historicalIncome;
    }

    public void setHistoricalIncome(BigDecimal historicalIncome) {
        this.historicalIncome = historicalIncome;
    }

    /**
     *'待收益'
     * @return
     */
    @Column(name = "EXPECTED_HOLDING_INCOME")
    public BigDecimal getExpectedHoldingIncome() {
        return expectedHoldingIncome;
    }

    public void setExpectedHoldingIncome(BigDecimal expectedHoldingIncome) {
        this.expectedHoldingIncome = expectedHoldingIncome;
    }

    /**
     *'测试分数'
     * @return
     */
    @Column(name = "TEST_SCORE")
    public Integer getTestScore() {
        return testScore;
    }

    public void setTestScore(Integer testScore) {
        this.testScore = testScore;
    }

    /**
     *'测试时间'
     * @return
     */
    @Column(name = "TEST_TIME")
    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }

    /**
     *'创建时间'
     * @return
     */
    @Column(name = "CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     *'最后一次更新时间'
     * @return
     */
    @Column(name = "LAST_UP_TIME")
    public Date getLastUpTime() {
        return lastUpTime;
    }

    public void setLastUpTime(Date lastUpTime) {
        this.lastUpTime = lastUpTime;
    }

    @Version
    @Column(name = "VERSION", nullable = false, precision = 22, scale = 0)
    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Column(name = "REMARK1",length = 500)
    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }
    @Column(name = "REMARK2",length = 500)
    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    @Column(name = "INDEX_AMT_IS_HIDDEN")
    public String getHideOrShow() {
        return hideOrShow;
    }

    public void setHideOrShow(String hideOrShow) {
        this.hideOrShow = hideOrShow;
    }
}
